package com.huawei.gamebox.service.common.cardkit.card;

import android.content.Context;
import android.view.View;
import android.widget.TextView;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import o.cgz;
import o.exp$a;
import o.exp$c;
import o.exp.d;

public class BuoyTitleCard extends BaseGsCard {
    private TextView ˏ;

    public BuoyTitleCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        ʽ(view);
        view.findViewById(d.ˎ).setMinimumHeight(this.ʼॱ.getResources().getDimensionPixelSize(exp$a.ˊᐝ));
        this.ˏ = (TextView) view.findViewById(d.ꜞ);
        this.ˏ.setTextColor(this.ʼॱ.getResources().getColor(exp$c.ʼ));
        this.ˏ.setTextSize(0, (float) this.ʼॱ.getResources().getDimensionPixelSize(exp$a.ʽ));
        View findViewById = view.findViewById(d.ꜟ);
        if (findViewById != null) {
            findViewById.setVisibility(8);
        }
        return this;
    }

    public void ˏ(CardBean cardBean) {
        if (cardBean != null) {
            this.ˏ.setText(cardBean.v_());
        }
    }
}
